package com.iogogogo.supervisord4j.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by tao.zeng on 2021/7/13.
 */
@Data
@Entity
@Table(name = "instance")
@NoArgsConstructor
@AllArgsConstructor
public class InstanceEntity implements Serializable {

    @Id
    private String instance;

    @Column(name = "`title`")
    private String title;

    @Column(name = "`describe`")
    private String describe;

    private transient String server;

    @Column(name = "web_url_primary")
    private String webUrlPrimary;

    @Column(name = "web_url_backup")
    private String webUrlBackup;
}
